﻿using System;
using System.Collections.Generic;

namespace Interfaces
{
    /// <summary>
    /// Поставка и трансфер (новая схема)
    /// </summary>
    public interface ISaleOrder
    {
        Guid OUTER_KEY { get; set; }
        String DOC_NUMBER { get; set; }
        DateTime DOC_DATE { get; set; }
        Int64 COMPANY_KEY { get; set; }
        Int64 LOCATION_KEY { get; set; }
        Int32 LINECOUNT { get; set; }
        Decimal TOTAL_AMOUNT { get; set; }
        Decimal TAX_AMOUNT { get; set; }
        String NOTE { get; set; }
        IEnumerable<ISaleOrderLine> SaleOrderItems { get; set; }
    }

    public interface ISaleOrderLine
    {
        Int64 ITEM_KEY { get; set; }
        Decimal PRICE { get; set; }
        Decimal ACTUAL_PRICE { get; set; }
        Decimal DISCOUNT { get; set; }
        Decimal QUANTITY { get; set; }
        Decimal TOTAL { get; set; }        
    }    
}
